function [nodes_new] = rmdblist(nodes_list)
%
%  remove duplicate values from a list
%
%         [list_new] = rmdblist(list)
%

[nlast,bas] = size(nodes_list);
[nodes,ii] = sort(nodes_list);

%nodes = [nodes(1);nodes;nodes(nlast)+1];
nodes = [nodes;nodes(nlast)+1];

nn = find(diff(nodes)~=0);
nodes_new = nodes(nn);

